<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        (async function () {
           const p1= fetch('http://api.github.com/users/wesbos')
           const p2= fetch('http://api.github.com/users/shunwuyu')
           const res=await Promise.all([p1,p2])
           const dataPromises=res.map(r=>r.json())
           const data=await Promise.all(dataPromises)
           console.log(data);
        })()
        
        </script>
</body>
</html>